/*
 * This will grab the current news from google.com, then take
 * every link located in newssites.txt and find the common links
 * between google and each of those sites, then prints them off.
 */

save fetch uri from http://news.google.com/ into news

for every url in fetch uri from file:///sample_news_popularity_sites.txt
	
	show url
	save fetch uri from url into newNews
	join news and newNews into result
loop

show result

write result into file:///resultnews.txt 